﻿using System;

namespace CMS.ORM.Model
{
    /// <summary>
    /// 实体类NewsPublish 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class NewsPublish
    {
        public NewsPublish()
        { }
        #region Model
        private decimal _id;
        private decimal _newsid;
        private string _department;
        private DateTime? _display_from;
        private DateTime? _display_till;
        private DateTime? _top_from;
        private DateTime? _top_till;
        private int _visiable;
        private int _messageable;
        /// <summary>
        /// 新闻发布ID
        /// </summary>
        public decimal id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 新闻ID
        /// </summary>
        public decimal newsID
        {
            set { _newsid = value; }
            get { return _newsid; }
        }
        /// <summary>
        /// 新闻栏目
        /// </summary>
        public string department
        {
            set { _department = value; }
            get { return _department; }
        }
        /// <summary>
        /// 显示起始时间
        /// </summary>
        public DateTime? display_from
        {
            set { _display_from = value; }
            get { return _display_from; }
        }
        /// <summary>
        /// 显示结束时间
        /// </summary>
        public DateTime? display_till
        {
            set { _display_till = value; }
            get { return _display_till; }
        }
        /// <summary>
        /// 置顶起始时间
        /// </summary>
        public DateTime? top_from
        {
            set { _top_from = value; }
            get { return _top_from; }
        }
        /// <summary>
        /// 置顶结束时间
        /// </summary>
        public DateTime? top_till
        {
            set { _top_till = value; }
            get { return _top_till; }
        }
        /// <summary>
        /// 是否显示
        /// </summary>
        public int visiable
        {
            set { _visiable = value; }
            get { return _visiable; }
        }
        /// <summary>
        /// 可否留言
        /// </summary>
        public int messageable
        {
            set { _messageable = value; }
            get { return _messageable; }
        }
        #endregion Model

    }
}


